package br.brpv.silvestrin.conferencia.helper;

import br.brpv.silvestrin.conferencia.R;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

public class ShowMessage {
	
	 public static void alertDialog(Context activity, int textId){

	        AlertDialog.Builder builder = new AlertDialog.Builder(activity);

	        builder.setMessage(textId)
	                .setCancelable(false)
	                .setNeutralButton(R.string.dialog_back, new DialogInterface.OnClickListener() {

	                    public void onClick(DialogInterface dialog, int which) {
	                    }
	                })
	                .create()
	                .show();
	    }

}
